home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_33.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  109KB  |  816x1056  |  8-bit (256 colors)
Labels: book | reckoner | sky | windowpane
OCR: Lesson I-29 Notice, too, that we've started adding plain English comments about the code as a way of documentingthe program. There are three ways of specifying comments in Mops: -his kind comment cont inues This another comment which extends to the end of the line This kind of comment can over several ine and can be nested Note , and are Mops words and So must be followed by Thus you had (this isn' comment) Mops would try to recogn. ize word (this" and woul dn treat this li: We 1 come back to the rest of the sta tements in this class Point in sea rch once more, but this time for the class defini t .on of class Int cons t s vars and that have the characteri .sti .CS of class Int Struct Mops fol der :class INT super{ object bytes data : m PUT : inline{ obj w!} ^base w ! : m ;class class Int ...